Node-RED block in Snap4City Microservice library node-red-contrib-snap4city-user is "dropdown">
With this node you can add a dropdown to an existing dashboard or a new one created by the node to select numbers in an interval.
{ "options": [
{ "label": "Opzione 1", "value": "1" }
{ "label": "Opzione 2", "value": "2" }
],
"selected": "2"
}
They are meant to be sent at regime.
Both are options and valueSelected are optional.
The options are intended for editing the value of already existing labels, defined in the initial configuration of the node. Nothing more than that.
The valueSelected is intended for forcing the selection of the writing associated with the given value, the widget side.